package com.zhouyu.listener;

import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/**
 * @program: spring-framework-5.3.10
 * @description: 拾光监听器
 * @author: chaidl  ！
 * @create: 2022-04-24 17:31
 */
@Component
public class ShiGuangListener implements ApplicationListener {
	/**
	 * Handle an application event.
	 *
	 * @param event the event to respond to
	 */
	@Override
	public void onApplicationEvent(ApplicationEvent event) {
		System.out.printf("执行监听事件");
	}
}
